package com.efast.dmom.mes.dao.entity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.ConfigurationBaseEntityDao;
import com.efast.dmom.mes.entity.ParamEntity;

public interface ParamDao extends ConfigurationBaseEntityDao<ParamEntity>{
	/**
	 * 通过参数组id获取参数list
	 * @param 
	 * @return
	 */
	public List<ParamEntity> getByParamGroupId (long paramGroupId);
	
	public ParamEntity getById(long paramId);
	
	public ParamEntity getByNameAndParamGroupId(@Param(value = "paramGroupId") long paramGroupId,@Param(value ="name") String name);
	
	public void deleteByParamGroupId(ParamEntity paramEntity);
}
